package com.example.department.Entity;
//用户表
public class User {
    private int id; //编号
    private String username; //用户名
    private int usercollege; //学院   外键
    private String userclass; //班级
    private String usersno; //用户学号
    private String userpwd; //用户密码
    private String userlocation; //住宿位置
    private String userimg; //用户头像
    private int usersex; //用户性别
    private int usertype; //用户类型
    private Double usertime; //志愿时间
    private int userintegral;//用户积分

    public User() {
    }

    public User(int id, String username, int usercollege, String userclass, String usersno, String userpwd, String userlocation, String userimg, int usersex, int usertype, Double usertime, int userintegral) {
        this.id = id;
        this.username = username;
        this.usercollege = usercollege;
        this.userclass = userclass;
        this.usersno = usersno;
        this.userpwd = userpwd;
        this.userlocation = userlocation;
        this.userimg = userimg;
        this.usersex = usersex;
        this.usertype = usertype;
        this.usertime = usertime;
        this.userintegral = userintegral;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getUsercollege() {
        return usercollege;
    }

    public void setUsercollege(int usercollege) {
        this.usercollege = usercollege;
    }

    public String getUserclass() {
        return userclass;
    }

    public void setUserclass(String userclass) {
        this.userclass = userclass;
    }

    public String getUsersno() {
        return usersno;
    }

    public void setUsersno(String usersno) {
        this.usersno = usersno;
    }

    public String getUserpwd() {
        return userpwd;
    }

    public void setUserpwd(String userpwd) {
        this.userpwd = userpwd;
    }

    public String getUserlocation() {
        return userlocation;
    }

    public void setUserlocation(String userlocation) {
        this.userlocation = userlocation;
    }

    public String getUserimg() {
        return userimg;
    }

    public void setUserimg(String userimg) {
        this.userimg = userimg;
    }

    public int getUsersex() {
        return usersex;
    }

    public void setUsersex(int usersex) {
        this.usersex = usersex;
    }

    public int getUsertype() {
        return usertype;
    }

    public void setUsertype(int usertype) {
        this.usertype = usertype;
    }

    public Double getUsertime() {
        return usertime;
    }

    public void setUsertime(Double usertime) {
        this.usertime = usertime;
    }

    public int getUserintegral() {
        return userintegral;
    }

    public void setUserintegral(int userintegral) {
        this.userintegral = userintegral;
    }
}
